home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 43.zip / ANC 21.adf / l.doc < prev    next >
Text File  |  1988-01-19  |  21KB  |  460 lines

  1.  
  2. SSS Screen Saving System release 1.0           ©1988 Roundabout Software
  3. ----------------------------------------------------------------------------
  4.  
  5. Thought you had seen the end of screen save utilities on Amiga?  Not by
  6. a long shot.  Introducing three programs designed to help you get an IFF
  7. picture out of almost anything that can be on your screen.  This archive
  8. contains the following :
  9.  
  10.     GrabViews    16552    (one shot screen save program   )
  11.     GrabViews.info      779    (icon for the above             )
  12.     TimeSave    21284    (timed screen save program      )
  13.     TimeSave.info     1227    (icon for the above             )
  14.     Memview2    33208    (scan memory for bitmaps        )
  15.     Memview2.info     1283    (icon for the above             )
  16.     Registration     2330    (the part you dont want to read )
  17.     SSS.doc     20711    (what you're gazing at now      )
  18.  
  19. Accept NO substitutions.
  20.  
  21. Preface
  22. -------
  23. SSS was written to try to address some of the inadequacies of the many
  24. screen grab and snapshot programs currently available.    For the technically
  25. oriented, all three programs work by starting in GfxBase and working their
  26. way through the list of active ViewPorts.  A display does NOT need to be on
  27. an Intuition screen for the SSS programs to find it.  Other screenshot
  28. programs that look for screens instead of ViewPorts are likely to not work
  29. properly if a program is directly manipulating the display as described
  30. in the RKM 'Graphics Primitives' chapter.
  31.  
  32. Format of these documents
  33. -------------------------
  34. The documents that follow are for the three programs that make up SSS,
  35. GrabViews, TimeSave, and Memview2.  The programs are designed to each be
  36. in ascending order as to how hard it might possibly be to get at a screen.
  37. For example, if you have control of your computer while a program is
  38. running that you need a screenshot of, GrabViews will do the trick.  If you
  39. can't do anything while the program is running, not even a hotkey, then
  40. TimeSave will save screens without your having to press a single key.  If
  41. TimeSave will not work with the program you are trying to get a snapshot
  42. with (a desperate case indeed) then Memview2 is your last resort.  Enough
  43. of the preface, onward to the instructions for each of these programs...
  44.  
  45.  
  46.  GrabViews 1.0
  47. ----------------------------------------------------------------------------
  48. GrabViews is the most basic form of these utilities.  When run, the
  49. program will save all currently active displays with incremental file
  50. names.    Operation is fairly simple, but the interface is different depending
  51. on whether you start from Workbench or CLI.
  52.  
  53. Performance notes - CLI
  54. -----------------------
  55.  
  56. GrabViews runs from CLI with a single argument, the prefix for the
  57. filename(s) that the IFF's will be saved with.  Since there can be many
  58. displays active at any given time, files are numbered incrementally in
  59. the following fashion :
  60.  
  61.     <prefix>.VPXX
  62.  
  63. The prefix is what you supply on the command line.  The VP stands
  64. for ViewPort, and the XX will be a number, starting at 0.  GrabViews
  65. does not check for files of the same name already existing, so use
  66. with care if you already have any similarly-named files in the same
  67. directory.  If GrabViews cannot open a file with the name you requested,
  68. it will abort gracefully.
  69.  
  70. Example usage would be:
  71.  
  72.     1> GrabViews Picture
  73.  
  74. Assuming you have two displays active (say the Workbench screen and a
  75. terminal program) you would have the following files written:
  76.  
  77.     Picture.VP00
  78.     Picture.VP01
  79.  
  80. These would go to the current directory.  If you wanted to send them
  81. to another directory, just add the path to the prefix on the command
  82. line, for example:
  83.  
  84.     1> GrabViews dh0:graphics/pictures/hello
  85.  
  86. Would result in hello.VP00 and hello.VP01 being written to the
  87. directory 'dh0:graphics/pictures'.
  88.  
  89. Starting GrabViews from the CLI with no arguments will result in usage
  90. information being displayed just to remind you what is going on.
  91.  
  92. Performance notes - Workbench
  93. -----------------------------
  94.  
  95. Running from WorkBench is easy, just click on the icon.  A small
  96. window will open up and present some information and a prompt for you
  97. to enter the prefix to be used on the filenames.  After you have done
  98. this, if your information is valid, GrabViews will start saving the
  99. displays one at a time, displaying each filename as it is written.  After
  100. everything is finished, you will be asked to press a key to terminate
  101. GrabViews.  To write to a particular directory, just tack on the
  102. directory name in front of the prefix as described in the CLI usage
  103. section.
  104.  
  105. Please note that display of filenames as they are saved ONLY occurs if
  106. you run the program from Workbench.
  107.  
  108. Mis-Features
  109. ------------
  110. Currently there is NO support for funny video modes such as HAM or
  111. ExtraHalfBright.  If you do happen to have screens of this nature up when
  112. you run GrabViews, it won't crash; rather, it will just output an IFF file
  113. that probably can't be shown by any type of picture viewer.  On the
  114. upside, non-standard screen sizes should be saved perfectly.
  115.  
  116. If you happen to have more than 100 ViewPorts active when you run
  117. GrabViews, the numbers will 'wrap around' and start saving again when it
  118. gets to 100, writing over the VP00 files and so on.  I seriously doubt
  119. that anyone will have a problem with this, but I thought I would add it
  120. in.  If YOU can figure out how to get over 100 ViewPorts active at once,
  121. then I will gladly modify the code to go up to 999.
  122.  
  123.  TimeSave 1.0
  124. ---------------------------------------------------------------------------
  125. TimeSave was written to handle those times when the program you are trying
  126. to get a screen from won't let your hotkeys get through, or does something
  127. strange when you switch back to CLI (if it will even LET you get back to
  128. CLI).  It was also written to allow unoprompted and scheduled saves of
  129. the active displays.  The basic operation of the program is similar to
  130. that of GrabViews, but with a few more options.  Read onward.
  131.  
  132. Performance notes - CLI
  133. -----------------------
  134. TimeSave expects two arguments on the command line, the start delay and
  135. the save delay.  Start delay refers to the amount of time in seconds that
  136. TimeSave is to wait before beginning incremental saving of displays.  The
  137. save delay is the amount of time in seconds to wait between saving all the
  138. available displays on the system.  For example, if you were to start
  139. TimeSave in this manner:
  140.  
  141.     1> TimeSave 180 60
  142.  
  143. Then TimeSave would wait three minutes (180 seconds) before going to
  144. work.  Then it would save all the displays once a minute.  Starting
  145. TimeSave with no arguments, an improper number of arguments, or the
  146. wrong type of arguments (ie. TimeSave hello world) will result in the
  147. usage information being repeated to make sure, again, that you know
  148. what you are doing.  Usage after this point is described in the
  149. "general usage" section following Workbench startup.
  150.  
  151. Performance notes - Workbench
  152. -----------------------------
  153. To start TimeSave from Workbench, just click on the icon.  A small window
  154. will open up prompting you for the start delay time and the save delay
  155. time, as detailed above.  If you enter the wrong usage information, then
  156. TimeSave will abort, assuming that you really didn't want to run it.  If
  157. your options have been entered correctly, the small window will close up
  158. and operations go on to what is described below.
  159.  
  160. Performance notes - General Usage
  161. ---------------------------------
  162. After you have started TimeSave in your preferred manner, a small
  163. window with a close gadget will pop up letting you know that TimeSave
  164. is working.  If you want to quit TimeSave, just click on the close gadget.
  165. After the initial delay that was entered, TimeSave will save all the current
  166. ViewPorts (displays) on the system to the logical device GRAB:.  I used
  167. this name so that Grabbit users won't have to reassign anything to use
  168. this program.  The filename is in the following format:
  169.  
  170.     TimeSave.VPXX.YYY
  171.  
  172. The XXX refers to the the ViewPort number (starting at zero) and the
  173. YYY number refers to the number of the save procedure that the pictures
  174. came from.  After the picture has been saved the WorkBench screen will
  175. flash, letting you know that the picture has been written.
  176.  
  177. Here is a typical sequence of events in using TimeSave:
  178.  
  179.     1> Assign GRAB: DF1:
  180.  
  181.     ( this assigns the logical device GRAB: which is where TimeSave
  182.       will try to save its files to )
  183.  
  184.     1> run TimeSave 30 120
  185.  
  186.     ( This starts TimeSave with an initial delay of 30 seconds and
  187.       a 2 minute delay between saving sets of screens. )
  188.  
  189.     Now, assuming you have two active displays, after 30 seconds the
  190.     following files will be written:
  191.  
  192.     DF1:TimeSave.VP00.000
  193.     DF1:TimeSave.VP01.000
  194.  
  195.     The Workbench screen will flash, letting you know that the files
  196.     have been written.
  197.  
  198.     Then two minutes will pass.  Suppose during that time you open
  199.     up ANOTHER screen.  Here is what will be written:
  200.  
  201.     DF1:TimeSave.VP00.001
  202.     DF1:TimeSave.VP01.001
  203.     DF1:TimeSave.VP02.001
  204.  
  205.     Again, the Workbench screen will flash.
  206.  
  207.     Then you click on the close gadget and TimeSave goes away.  After
  208.     this TimeSave session you have the following files:
  209.  
  210.     DF1:TimeSave.VP00.000
  211.     DF1:TimeSave.VP01.000
  212.     DF1:TimeSave.VP00.001
  213.     DF1:TimeSave.VP01.001
  214.     DF1:TimeSave.VP02.001
  215.  
  216.  
  217. During the time that TimeSave is running, if anything goes wrong (TimeSave
  218. can't save the files, for instance) it will abort gracefully.  One other
  219. thing you should know about is that TimeSave sets itself to a VERY high
  220. priority to try to keep things from moving while it is saving the files.
  221. Don't worry, while it is waiting for the time intervals, it won't slow
  222. anything down at all, just when it is saving the screens.  If there is too
  223. much movement going on when the screen is being saved, there is a good
  224. chance that you will get a little bit of blur, but this doesn't happen
  225. very often.
  226.  
  227. Mis-Features
  228. ------------
  229. As with GrabViews, TimeSave won't handle funny video modes such as
  230. HAM and ExtraHalfBright.  Also, certain game screens do not come out
  231. quite right.  The pixels will all be in the right places, but the colors
  232. come out funny every now and then.  In such a case, just be glad that
  233. you at least have the meat of the picture (the bitmap) and boot up
  234. a paint program and play with the palette until it looks right.
  235.  
  236.  MemView 2.0
  237. --------------------------------------------------------------------------
  238. MemView 2.0 is based on a program written a couple of years ago by Leo
  239. Schwab.  It is designed as your last resort -- for those games that don't
  240. start from Workbench conditions (Psygnosis products come to mind) and for
  241. times when the displays may be hidden in memory but not actually showing
  242. on the screen (see the hints and tips section for examples of this).
  243. Basically what it lets you do is scan through chip memory looking for
  244. bitmaps and then (if you choose) saves the image as an IFF file when you
  245. exit the program.
  246.  
  247. Performance notes - Workbench & CLI
  248. -----------------------------------
  249. To start from Workbench, just click on the icon.  To start from CLI, just
  250. run the program.  Execution after this is identical in either case.
  251.  
  252. Performance notes - General Usage
  253. ---------------------------------
  254. After you have started Memview2, a window will pop up with many gadgets
  255. in it.    Nine of these are switches, and when you click on one of them,
  256. it will slide to the right, and the previously selected one will turn
  257. off.  The four gadgets on the top row are the screen resolution at which
  258. you wish to work.  The five gadgets underneath those are the depth
  259. settings, 1 = 2 colors, 2 = 4 colors, 3 = 8 colors, 4 = 16 colors,
  260. and 5 = 32 colors.  Note that you cannot have a depth of more than
  261. 4 with 640x400 and 640x200 modes.  Even though you cannot select things
  262. like this, I thought I would mention it.
  263.  
  264. Below the five depth gadgets is a string gadget.  The name in here is
  265. the filename to save the resulting picture to.    If you just want to look
  266. through memory and don't want to save a filename, then delete the default
  267. string contained in the box by pressing Right-Amiga-X (or lots of
  268. backspaces if you are more comfortable with that).
  269.  
  270. The last two gadgets are 'GO' and 'Cancel'.  'GO' will proceed with
  271. program operation, and 'Cancel' will take you back to wherever you
  272. started from (Workbench or CLI).
  273.  
  274. After you click on 'GO' then a display matching the resolution and
  275. depth that you specified will be created.  Control from this point is
  276. joystick oriented (just like in the original Memview program), and kind
  277. of fun if I might say so.  You have five options available to you:
  278.  
  279.     Joystick left : Select slow scroll mode
  280.     Joystick right: Select fast (zooom) scroll mode
  281.     Joystick up   : Scroll upward through memory
  282.     Joystick down : Scroll downward through memory
  283.     Joy Button    : Exit the program
  284.  
  285. Your task now is to find the bitmaps that you are looking for, which
  286. hopefully match your specifications when you started the program.  You
  287. want to start by scrolling DOWNWARD until you find what you are looking
  288. for.  Chances are that you will find four or five different 'versions' of
  289. the screen you are looking for, all but one with a good bit of miscellaneous
  290. garbage on them.  I like to check things out in high speed zooom mode
  291. and then when I find it, I use the slow scroll mode to get the picture
  292. lined up correctly.  There is also a good chance that your picture will be
  293. split across the border, as if somebody shifted the entire thing over and
  294. it wrapped around to the other side.  In this case, save it anyway and use
  295. a paint program to move things around correctly.  You will have to use
  296. a paint program anyway to get the palette right -- Memview 2.0 uses a
  297. fixed palette and searching through memory for a palette could take
  298. hours, although I might do something like this for a future release.
  299.  
  300.   A typical session with Memview 2.0 might go something like this:
  301.  
  302.     Boot up that Psygnosis game that you want a screen from.
  303.  
  304.     When the screen shows what you want a picture of, RESET your
  305.     computer.  Yes, thats right, control-A-A (or the chickenhead
  306.     if you don't have a 1000)
  307.  
  308.     Boot up with your workbench, or perhaps even a blank disk with
  309.     nothing but Memview 2.0 on it, and run Memview 2.0.
  310.  
  311.     Select 320x200 resolution and a depth of 5, a filename of
  312.     PSYG.PIC.
  313.  
  314.     Scroll DOWNWARD through memory using zooom mode until you
  315.     find the screen that was displayed when you reset the computer.
  316.     Yup, its still in there, and if you don't use much memory, it
  317.     can hang around for DAYS.
  318.  
  319.     Since this is a five bitplane screen, usually the picture will
  320.     be the fifth one once you start seeing versions of it with a little
  321.     bit of garbage on 'em.
  322.  
  323.     Use the fine scroll mode to center the picture, and press the
  324.     joystick button.  Your picture will be written out.
  325.  
  326.     Load up your favorite paint program (Graphicraft! hahahaha) and
  327.     adjust the palette until you are happy with it.  The end.
  328.  
  329. Thats all there is to it.  There are also some other neat things that
  330. Memview 2.0 can accomplish that are detailed in the 'Hints & Tips' section.
  331.  
  332. Mis-Features
  333. ------------
  334. You've probably already guessed -- at the current time, Memview 2.0 only
  335. works in the above stated resolutions.    No weird screen modes, and no
  336. overscan or strange screen sizes.  Maybe in a future release if I can
  337. figure out how to implement it in my original requester.
  338.  
  339. If you are using either 320x400 or 640x400 resolution with more than
  340. three bitplanes, the scroll is not exactly smooth, but jumpy.  Don't worry,
  341. though, everything straightens out when you let go of the stick, and
  342. everything will be saved properly.  Not my fault, just that the
  343. ScrollVPort routine isn't quite perfect.  I've done what I can to keep
  344. things looking reasonably pretty.
  345.  
  346. You should NOT scroll UPWARDS through memory if you intend on saving the
  347. picture, or else your IFF won't match what was on the screen when you save
  348. it.  Always start your journey into memory by scrolling DOWNWARD.  I'll
  349. be fixing this soon, but I wanted to go ahead and get this entire package
  350. out and in 'distribution' fairly quick.  No, you won't crash or anything,
  351. its just that the result is not correct.
  352.  
  353. SSS Hints and Tips
  354. ---------------------------------------------------------------------------
  355. Okay, here are some fun things you can do with SSS that you might not
  356. have been able to think of while wading through these monotonous
  357. instructions.
  358.  
  359. 1) Cheat at Centerfold Squares.  Apparently CFS keeps a duplicate of your
  360. opponent in memory as she is seen when you win.  The sequence of events to
  361. get the picture is:
  362.  
  363.     a) boot CFS and get a screen with the partially obscured opponent
  364.  
  365.     b) run Memview 2.0 at 320x200 resolution and a depth of 5.    Scroll
  366.        through until you find the right picture, with the weird colors and
  367.        all.  Save the result.
  368.  
  369.     c) Get a copy of the REAL CFS screen with GrabVeiws.  Put these in
  370.        the same directory.
  371.  
  372.     d) Quit CFS unless you have lots of memory.  Boot up a paint program
  373.        and load in the Memview 2.0 picture.  Then swap screens and load in
  374.        the GrabViews picture.  Now your palette should be correct.  Swap
  375.        back and view your handiwork and feel kind of guilty.
  376.  
  377. 2) You can get pictures from all those neat Psygnosis games that have
  378. custom bootblocks and don't let you do diddley while they are running.
  379.  
  380. 3) You can save a picture of a running program WITH THE MENU DOWN.  Yes,
  381. I know it sounds hard to believe, but it works.  First, run TimeSave.
  382. Then get yourself situated for the save by pulling down the menu.  Wait
  383. for the flash (if you are on Workbench doing this, if not just kind of
  384. time yourself or wait for the disk to stop spinning) and then check your
  385. work to see if it came out okay.  I've done this several times with no
  386. problem, and is going to be a big help when doing A.X. reviews in the
  387. future.
  388.  
  389. 4) What else?  I'm not sure.  If you find anything else fun to do with
  390. SSS then please get in touch with me and let me know.
  391.  
  392.  
  393. Distribution
  394. ------------
  395.  
  396. And now for the part that you probably didn't want to read.
  397.  
  398. This package may be distributed via BBS's anywhere, or included on
  399. any software collection provided that the charge for said software
  400. collection or PD disk does not exceed that of the media and/or shipping
  401. charges.  Posting to major networks is allowed (and encouraged) except
  402. for Compuserve.  I have no desire to belong to their libraries, and if
  403. you find this there, please ask the sysops to delete it by request of
  404. the author.
  405.  
  406. If you do choose to distribute this in ANY manner, you MUST include
  407. every program that is in the original distribution.  A list of all the
  408. files occurs at the beginning of these documents.
  409.  
  410. Please note that this program and the entire SSS system is released
  411. as freely distributable Shareware, which means that you can test drive
  412. it and see how you like it, after which time you make the decision to
  413. buy or die (grin).  If you can't afford the contribution, don't worry
  414. yourself to sleep, I've been in the same shape myself before.  Future
  415. additions and upgrades (for example, a hotkey activated utility like the
  416. ones above) to SSS depend on the support from the users, however.  See
  417. the Registration file for your shareware registration info.
  418.  
  419. On the other hand, if you are using this package in any kind of
  420. commercial environment (one idea that comes to mind is screenshots for
  421. magazines) then the contribution is MANDATORY.    The price I am asking
  422. is not unreasonable for people in those situations.  For your registration
  423. form and registration information, please consult the Registration file
  424. that is contained in this distribution.
  425.  
  426. Finding the author
  427. ------------------
  428. If you enjoy this program, then why not give my BBS a call?  I may
  429. be located at the following locations:
  430.  
  431.  
  432.  
  433.         Chris Bailey    (VOICE) (803) 796-8058 or
  434.                 (VOICE) (803) 794-4933
  435.         My BBS            (803) 791-9448
  436.         bix :            csbailey
  437.         U.S. Snail    2405 Feather Run Trail
  438.                 W. Columbia, SC
  439.                 29169
  440.  
  441. And at various other BBS's across the country (thank you, PC-Pursuit).
  442.  
  443. ----------------------------------------------------------------------
  444.  
  445.         This product was written and developed with:
  446.  
  447.             Benchmark Modula-2
  448.              by Avant Garde Software
  449.  
  450. ----------------------------------------------------------------------
  451.  
  452. Revision History
  453. ----------------
  454.  
  455. Version 1.0 : Initial release consisting of:
  456.         Memview   2.0
  457.         GrabViews 1.0
  458.         TimeSave  1.0
  459.  
  460.